﻿using AutoMapper;
using MyProduce.MyProduce.ProduceDto;
using MyProduce.Produce;

namespace MyProduce;

public class MyProduceApplicationAutoMapperProfile : Profile
{
    public MyProduceApplicationAutoMapperProfile()
    {
        /* You can configure your AutoMapper mapping configuration here.
         * Alternatively, you can split your mapping configurations
         * into multiple profile classes for a better organization. */
        CreateMap<GrowthstageDto, Growthstage>().ReverseMap();
        CreateMap<BreedingPatternDto, Breedingpattern>().ReverseMap();
        CreateMap<SheepManagementDto, SheepManagement>().ReverseMap();
        CreateMap<BirthTypeDto, Birth>().ReverseMap();
        CreateMap<presenceDto, Presence>().ReverseMap();
        CreateMap<SheepManagementShowDto, SheepManagement>().ReverseMap();
        CreateMap<CampDto, Camp>().ReverseMap();
        CreateMap <RoundTypeDto, RoundType>().ReverseMap();
        CreateMap<PrentalDto, Prenatal>().ReverseMap();
        CreateMap<PregnancytestresultDto, Pregnancytestresult>().ReverseMap();
        CreateMap<HybridizationDto, EweBreeding>().ReverseMap();
        CreateMap<SeedbirthDto, Seedbirth>().ReverseMap();
        CreateMap<SeedweaningDto, Seedweaning>().ReverseMap();
    }
}
